package com.ruoyi.custom.mapper;

import java.util.List;
import com.ruoyi.custom.domain.PotentialClients;

/**
 * 潜在客户Mapper接口
 * 
 * @author ruoyi
 * @date 2024-03-25
 */
public interface PotentialClientsMapper 
{
    /**
     * 查询潜在客户
     * 
     * @param id 潜在客户主键
     * @return 潜在客户
     */
    public PotentialClients selectPotentialClientsById(Long id);

    /**
     * 查询潜在客户列表
     * 
     * @param potentialClients 潜在客户
     * @return 潜在客户集合
     */
    public List<PotentialClients> selectPotentialClientsList(PotentialClients potentialClients);

    /**
     * 新增潜在客户
     * 
     * @param potentialClients 潜在客户
     * @return 结果
     */
    public int insertPotentialClients(PotentialClients potentialClients);

    /**
     * 修改潜在客户
     * 
     * @param potentialClients 潜在客户
     * @return 结果
     */
    public int updatePotentialClients(PotentialClients potentialClients);

    /**
     * 删除潜在客户
     * 
     * @param id 潜在客户主键
     * @return 结果
     */
    public int deletePotentialClientsById(Long id);

    /**
     * 批量删除潜在客户
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePotentialClientsByIds(Long[] ids);
}
